package com.zuoye.Opjo;

/**
 * @version v1.0
 * @Description
 * @Author admin
 * @date 2021/7/30  16:37
 * @Copyright
 */
public class Class {
    private int id;
    private String name;
    private int num;
    private String createdate;

    public Class() {
    }

    public Class(int id, String name, int num, String createdate) {
        this.id = id;
        this.name = name;
        this.num = num;
        this.createdate = createdate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    @Override
    public String toString() {
        return "Class{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", num=" + num +
                ", createdate='" + createdate + '\'' +
                '}';
    }
}
